@echo off

IF "%OS%" == "Windows_NT" (
ECHO Script now executing
) ELSE (
GOTO :EOF
)